using System.Windows;
using XEvolve.Presentation.Input;

namespace Demo.App.Core
{
    public class HelloWorldHandler : ICommandHandler
    {
        public void Execute(object sender, object parameter)
        {
            MessageBox.Show(string.Format("Hello World!\r\n(PersistId : {0})", parameter ?? "null"), "X-Evolve");
        }

        public bool CanExecute(object sender, object parameter)
        {
            return true;
        }
    }
}